<?php
    session_start();
?>


<table border=1>
<form action="../../account/update/userinfoUpdate.php" method="POST">
    <tr>
        <td>New First Name</td>
        <td><input type="text" name="fname" value="<?php echo $_SESSION['fname']; ?>"/></td>
    </tr>
    <tr>
        <td>New Last Name</td>
        <td><input type="text" name="lname" value="<?php echo $_SESSION['lname']; ?>"/></td>
    </tr>
    <tr>
        <td>New Email</td>
        <td><input type="text" name="email" value="<?php echo $_SESSION['email']; ?>"/></td>
    </tr>
    <tr>
        <td>New password</td>
        <td><input type="password" name="password" value="<?php echo $_SESSION['password']; ?>"/></td>
    </tr>
    <tr>
        <td>New Gender</td>
        <td><input type="text" name="gender" value="<?php echo $_SESSION['gender']; ?>"/></td>
    </tr>
    <tr>
        <!--<td><input type="submit" value="Update Profile"/></td>-->
    </tr>
</form>
</table>  


<table border=1>
    <tr>
        <td><a href="../../account/profile/myprofile.php">MY PROFILE</a></td>
    </tr>
</table>